runtime.m.curg (field)

106 uses

	runtime (current package)
		cgocall.go#L303: 	if gp != gp.m.curg {
		coro.go#L222: 	setGNoWB(&mp.curg, gnext)
		debugcall.go#L35: 	if getg() != getg().m.curg {
		heapdump.go#L699: 	casGToWaiting(gp.m.curg, _Grunning, waitReasonDumpingHeap)
		heapdump.go#L714: 	casgstatus(gp.m.curg, _Gwaiting, _Grunning)
		malloc.go#L1098: 		if assistG := getg().m.curg; assistG != nil {
		malloc.go#L1701: 	if assistG.m.curg != nil {
		malloc.go#L1702: 		assistG = assistG.m.curg
		mbitmap.go#L1904: 	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
		mbitmap.go#L1907: 		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
		mgc.go#L1047: 	curgp := mp.curg
		mgcmark.go#L227: 			userG := getg().m.curg
		mgcmark.go#L1176: 	gp := getg().m.curg
		mgcmark.go#L1330: 	gp := getg().m.curg
		mgcwork.go#L534: 		gp := getg().m.curg
		mprof.go#L548: 		if gp.m.curg == nil || gp.m.curg == gp {
		mprof.go#L551: 			nstk = gcallers(gp.m.curg, skip, mp.profStack)
		mprof.go#L554: 		if gp.m.curg == nil || gp.m.curg == gp {
		mprof.go#L565: 			mp.profStack[0] = gp.m.curg.sched.pc
		mprof.go#L566: 			nstk = 1 + fpTracebackPartialExpand(skip, unsafe.Pointer(gp.m.curg.sched.bp), mp.profStack[1:])
		panic.go#L274: 	if gp.m.curg != gp {
		panic.go#L379: 	if gp.m.curg != gp {
		panic.go#L465: 	if gp.m.curg != gp {
		panic.go#L743: 	if gp.m.curg != gp {
		panic.go#L1421: 		if gp != gp.m.curg {
		panic.go#L1473: 	if gp != mp.curg {
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L369: 	if mp.curg != gp {
		proc.go#L448: 	gp := mp.curg
		proc.go#L1637: 	casGToWaitingForSuspendG(getg().m.curg, _Grunning, waitReasonStoppingTheWorld)
		proc.go#L1747: 	casgstatus(getg().m.curg, _Gwaiting, _Grunning)
		proc.go#L2116: 		gp := getg().m.curg
		proc.go#L2471: 	casgstatus(mp.curg, _Gdead, _Gsyscall)
		proc.go#L2476: 			trace.GoCreateSyscall(mp.curg)
		proc.go#L2532: 	mp.curg = gp
		proc.go#L2605: 	casgstatus(mp.curg, _Gsyscall, _Gdead)
		proc.go#L2606: 	mp.curg.preemptStop = false
		proc.go#L2633: 	mp.curg.trace.reset()
		proc.go#L3347: 	mp.curg = gp
		proc.go#L4219: 	setMNoWB(&gp.m.curg.m, nil)
		proc.go#L4220: 	setGNoWB(&gp.m.curg, nil)
		proc.go#L5029: 	gp := getg().m.curg
		proc.go#L5058: 	gp := getg().m.curg
		proc.go#L5226: 		if mp.curg != nil {
		proc.go#L5227: 			newg.labels = mp.curg.labels
		proc.go#L5637: 	if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
		proc.go#L5653: 		u.initAt(mp.curg.syscallpc, mp.curg.syscallsp, 0, mp.curg, unwindSilentErrors)
		proc.go#L5690: 		if gp != nil && gp.m != nil && gp.m.curg != nil {
		proc.go#L5691: 			tagPtr = &gp.m.curg.labels
		proc.go#L5699: 			if gp.m.curg != nil {
		proc.go#L5700: 				gprof = gp.m.curg
		proc.go#L6500: 	gp := mp.curg
		proc.go#L6588: 		if mp.curg != nil {
		proc.go#L6589: 			print(mp.curg.goid)
		runtime2.go#L544: 	curg            *g       // current running goroutine
		sema.go#L148: 	if gp != gp.m.curg {
		signal_unix.go#L697: 	if !c.sigFromUser() && flags&_SigPanic != 0 && (gp.throwsplit || gp != mp.curg) {
		signal_unix.go#L768: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		signal_unix.go#L770: 			goroutineheader(mp.curg)
		signal_unix.go#L771: 			traceback(^uintptr(0), ^uintptr(0), 0, mp.curg)
		signal_unix.go#L855: 	if mp.incgo && gp == mp.g0 && mp.curg != nil {
		signal_unix.go#L859: 		gp = mp.curg
		signal_unix.go#L1213: 	if gp != nil && gp.m != nil && gp.m.curg != nil && !gp.m.isExtraInC && !gp.m.incgo {
		stack.go#L1021: 	if thisg.m.morebuf.g.ptr() != thisg.m.curg {
		stack.go#L1022: 		print("runtime: newstack called from g=", hex(thisg.m.morebuf.g), "\n"+"\tm=", thisg.m, " m->curg=", thisg.m.curg, " m->g0=", thisg.m.g0, " m->gsignal=", thisg.m.gsignal, "\n")
		stack.go#L1028: 	gp := thisg.m.curg
		stack.go#L1030: 	if thisg.m.curg.throwsplit {
		stack.go#L1243: 		if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
		stack.go#L1254: 	if gp == getg().m.curg && gp.m.libcallsp != 0 {
		synctest.go#L213: 			curg := gp.m.curg
		synctest.go#L214: 			gp.m.curg = nil
		synctest.go#L216: 			gp.m.curg = curg
		trace.go#L376: 			me := getg().m.curg
		trace.go#L816: 		getg().racectx = getg().m.curg.racectx
		traceback.go#L134: 	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
		traceback.go#L288: 		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
		traceback.go#L296: 				gp = gp.m.curg
		traceback.go#L319: 				gp = gp.m.curg
		traceback.go#L1004: 				if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
		traceback.go#L1115: 	if mp.throwing >= throwTypeRuntime && gp != nil && (gp == mp.curg || gp == mp.caughtsig.ptr()) {
		traceback.go#L1239: 	if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
		traceback.go#L1278: 	curgp := getg().m.curg
		traceback.go#L1669: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		traceback.go#L1689: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		tracebuf.go#L47: 		if gp == gp.m.curg {
		tracebuf.go#L115: 		if gp == gp.m.curg {
		traceevent.go#L44: 	if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) {
		traceruntime.go#L432: 	gp := getg().m.curg
		tracestack.go#L39: 		gp = mp.curg
		tracestack.go#L53: 				if getg() == gp || mp.curg == gp {
		tracestatus.go#L69: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {